      1  import java.util.Scanner;

      2

      3  /**

      4     This program prints a description of an earthquake of a given magnitude.

      5  */

      6  public class EarthquakeRunner

      7  {

      8     public static void main(String[] args)

      9     {

     10        Scanner in = new Scanner(System.in);

     11

     12        System.out.print("Enter a magnitude on the Richter scale: ");

     13        double magnitude = in.nextDouble();

     14        Earthquake quake = new Earthquake(magnitude);

     15        System.out.println(quake.getDescription());

     16     }

     17  }